Energy exchange for homogeneous and isotropic universes with a scalar field coupled to matter