Approximate KMS States for Scalar and Spinor Fields in Friedmann–Robertson–Walker Spacetimes