Simulation of tactile sensors using soft contacts for robot grasping applications