Engineering of a light-gated potassium channel