Barclays fined £7.7m over investment advice failures