Automated analysis of AFM indentation curves