A modified firefly algorithm based on light intensity difference