An experimental study of large-angle elastic scattering of charged mesons and antiprotons on protons at 20 and 30 GeV/c incident momenta