Nonminimally coupled scalar fields in homogeneous universes