Computer simulation studies of anisotropic systems. IX. The Maier—Saupe theory for nematic liquid crystals and the molecular field approximation