Potential for neutrino and radioactive beam physics of the foreseen upgrades of the CERN accelerators