Thermodynamics of boson and fermion systems with fractal distribution functions.