Freddie Mac posts best quarter for purchase mortgages since 2010