Resolution Foundation finds agency workers are paid £400 a year less than directly employed colleagues