Atomic force microscopy techniques for nanomechanical characterization : a polymer case study