Watchdog tells gas and electricity firms to hold more capital and to protect customer credit balances.