Mortgage costs rise as banks confirm higher rates