Development of a multidimensional luminescence microscope and its application to imaging and spectroscopy of luminescent defects in diamond