UK needs to get its act together before Brexit vote, Juncker says