Government pledges £932m to cut emissions from hospitals and other public buildings