Measurement and control of the growth of rotating magnetic islands by electron cyclotron current drive in a tokamak