Gravimetrical determination of pressure-composition isotherms of thin PdHc films