Formerly, men not wearing military uniform wore knee breeches of an 18th-century design. What is the official dress code today at Buckingham Palace