a mortgage is a type of loan