Homogenization of doubly-nonlinear equations