Nonlinear homogenization using the nonuniform transformation field analysis