Search for narrow dibaryon resonances by the pd-->pdX and pd-->ppX reactions