Switching off street lights for part of the night would help moths and other nocturnal pollinators, new research has found.