Universal wind turbine working grid-connected and stand-alone