India's armed forces put on a glorious show for the President — inspired by a 17th century British tradition