Reliability and safety of railway signalling and interlocking devices