On equilibrium properties and phase diagram of magnetic fluids