Lightest and heaviest two-neutron halo nuclei, $^{6}$He and $^{22}$C