Thermodynamic and nonstoichiometric behavior of the lead-doped and lead-free Bi-2212 systems