1 Optical control of a rhodopsin-based switch