Comparative analysis on the nanoindentation of polymers using atomic force microscopy