Energy performance and user preferences for LED lighting for offices and residential buildings