An interpretation of ring galaxies and the properties of intergalactic gas clouds