Photon correlation spectroscopy near the glass transition