The mechanism of hydrogen sorption by thin palladium layers I. Desorption