Resonance modes of freestanding magnetoelastic resonator and the application in viscosity measurement