123, 247, and 124 cuprate superconductors: Investigations of thermodynamic stabilities, defect structures, and intergrowths