Parameter identification and sensitivity analysis for mechanical systems with frictional contacts