Some of the UK’s biggest banks have been failing their most vulnerable customers, according to the financial regulator.