This 15th-century palace was the residence of the Dukes of Medinaceli and holds an impressive collection of works of art