Ex-guerrilla sworn in as El Salvador's president