Szekeres universes with homogeneous scalar fields