Power supplies for medical and industrial applications