First-time buyers saw a higher proportion of mortgage approvals in the months preceding the EU referendum vote.