Formation of Galaxies and Clusters of Galaxies by Self-Similar Gravitational Condensation