Reference procedures for obtaining occupancy profiles in residential buildings