A vacuum encapsulated resonator for humidity measurement