who was the first president to get married in office but not in the white house?