Haiti swears in new president after long-running crisis