Method for the whole life carbon assessment of buildings