Design and synthesis of molecular actuators and sensors