A rectangular box is constructed in 3-space with one corner at the origin and other vertices at (1, 0, 0), (0, 4, 0), (0, 0, 2). Find the length of the diagonal of the box.