Quick, bring me the head of a geniusBoth Haydn and Goya were among the many victims of an era’s rampant mania for skulls