Bifurcation of limit cycles from a switched equilibrium in planar switched systems and its application to power converters