Exact solutions of hydrodynamic type equations having infinitely many conserved densities