Isoelectronic changes in energy of quark atoms and molecules via the Levy equation