Lattice defects introduced during hydrogen absorption–desorption cycles and their effects on P–C characteristics in some intermetallic compounds