These mansion museums reveal the grittier side of the Gilded Age