Engineering modular intracellular protein sensor-actuator devices