Compact reflex photoelectric sensor for glass bottle detection