Mortgage rate tops 7% as 10-year Treasury nears 4.9%