Melanopsin Variants as Intrinsic Optogenetic On and Off Switches for Transient versus Sustained Activation of G Protein Pathways.