H I in early-type galaxies. III - Observations of S0 galaxies