Setting up a CCD photometer for lighting research and design