A mathematical model of uniform longshore currents and the comparison with laboratory data