UK investment firm Hargreaves Lansdown agrees to $6.9 billion takeover by CVC consortium