Investigation of Brownian and Néel relaxation in magnetic fluids