Pedro Castillo sworn in as president of Peru