Why insects are drawn to artificial light at night