Non-coulombic states of N2(4+) and O2(4+) ions probed by laser-induced multi-ionization of N2 and O2