Specifika hypotečních úvěrů, legislativa k hypotečním úvěrům