One of the UK's largest energy companies OVO is to pay £2.37m in compensation for customer complaint failures.