Chemistry of non-stoichiometric compounds