An elegant apartment in a 19th-century Spanish palazzo in Madrid casts Michael Smith's collection of art and objects in a new light.