Validity of the Anderson and Hubbard models for the description of metallic Ce and cerium heavy fermion compounds