Energy audit of lighting systems