An approach to the homogenization of nonlinear elastomers via the theory of unbounded functionals