through-beam photoelectric sensor