Peru swears in new president after tumultuous week of protests