Electromechanical properties of single molecule devices