Development and application of an energy and environmental certification method for residential buildings