Freight trains in Britain to be upgraded with delay-busting digital technology