Interrelationship of process parameters in vapor phase pyridine synthesis