Generalized virial theorem and pressure relation for a strongly correlated Fermi gas