Investment platforms have been criticised for their charges as research found the cost difference between the highest and lowest-cost platforms was more than the average UK salary.