In Situ Method for Measuring the Mechanical Properties of Nafion Thin Films during Hydration Cycles.