K + production in proton and deuteron induced reactions at subthreshold energies