Thermodynamics of polyatomic fluid mixtures—I theory