Power supply for LED lighting