Magnetic resonance of nanoparticles in a ferrofluid: evidence of thermofluctuational effects