Martin Schmidt, Kunsthistoriker