On the comparison of occupancy in relation to energy consumption and indoor environmental quality: a case study