Rheometry-on-a-chip: measuring the relaxation time of a viscoelastic liquid through particle migration in microchannel flows