Establishment of strain gradient constitutive relations by using asymptotic analysis and the finite element method for complex periodic microstructures