Two-magnon Raman scattering in two-dimensional antiferromagnets at finite temperatures