Preparation and characterization of an optically detectable H2 gas sensor consisting of Pd/MoO3 thin films