A new book on the history of private collectors describes how Emma Hamilton became inextricable from her husband’s often erotic collection of ancient art