Photoelectric sensors for the food industry