Until June 9, an exhibition at the Palau Foundation in Caldes d’Estrac explores the art world’s lasting passion for the iconic item of clothing