Energy dissipation during nanoscale indentation of polymers with an atomic force microscope