Analysis of single-molecule mechanical recordings: application to acto-myosin interactions