A new method for nocturnal aerosol measurements with a lunar photometer prototype