Correlation properties of resonantly scattered light