Frequency response of cantilever beams immersed in viscous fluids with applications to the atomic force microscope