Analytical pair correlations in ideal quantum gases: temperature-dependent bunching and antibunching.