The effect of moisture on buckle delamination of thin inorganic layers on a polymer substrate