The distribution of relaxation frequencies from photon correlation spectroscopy near the glass transition