Thermodynamic model for tricritical points in ternary and quaternary fluid mixtures