Effect of microstructure on undrained behaviour of sands