Giving robots a sense of touch with mechanical design