Measuring the elastic modulus of polymers by nanoindentation with an atomic force microscope