Homogenization methods for multiscale mechanics