A first-principles study of overcrowded alkene-based light-driven rotary molecular motor as a possible optical molecular switch