Total cross sections of π±, K±, p and on protons and deuterons between 23 and 280 GeV/c