Cyclic loading of soils : from theory to design