Scanning probe microscopy techniques for mechanical characterization at nanoscale