Model of tactile sensors using soft contacts and its application in robot grasping simulation