Second-gradient homogenized model for wave propagation in heterogeneous periodic media