Great British Energy legislation passes through Parliament