Finite-difference time-domain scheme for nonlinear acoustic waves in solids