How to connect a 3 legged photo transistor?