Coherent control of transverse-mode oscillations in VCSELs