Contact states recognition in robotic part mating based on support vector machines