Fabrication and characterization of a piezoresistive humidity sensor with a stress-free package