Power supplies for use with LED and other lighting 