Railway signal and track circuit