With millions of streetlights now mapped across Britain, new data shows how lighting links to safety and confidence after dark.