Optical detection of meteoroidal impacts on the Moon