Internal energy and hydrostatic pressure of a quantum relativistic ideal gas