Phototactic attraction in light trap experiments: A mathematical model