Study: Four million homes in North of England need green upg