New Hampshire passes thermal renewable energy bill