photoelectric beam detector