How does a mobile charger work? SMPS with Opto-Coupler