Capital One to exit home loans, cut more than 1,000 jobs