An optical fiber intrusion detection system for railway security