Timed Automata as a Verification Tool for Security Protocols