Study of viscoelastic effect on the frequency shift of microcantilever chemical sensors