Particle scale analysis of soil stiffness and elastic wave propagation