Determination of 1p- and 2p-stripping excitation functions for $$^{16}$$ 16 O+