Acuity Brands has record third quarter