Banks withdraw record number of mortgages from UK market