The oscillation frequency of a quartz resonator in contact with liquid