Design and analysis of a GaN based totem pole bridgeless PFC for EV charging applications