Real-Time Optogenetics System for Controlling Gene Expression