Saving energy by maximising daylight and minimising the impact on occupants: an automatic lighting system approach