Effect of acceleration on the morphology-dependent optical resonances of spherical resonators