Detection sensors, Photoelectric sensors