Market turmoil leaves more than 2mn homeowners facing sharp rise in borrowing costs over next two years