Viscosity sensor using long-period fiber grating based on transmission amplitude change of resonance wavelength