Photoelectric sensors for industrial use