Polytropic dark haloes of elliptical galaxies