Strain-gradient homogenization: A bridge between the asymptotic expansion and quadratic boundary condition methods