In situ nanomechanical characterization of the early stages of swelling and degradation of a biodegradable polymer