Afghan president, rival to take parallel oaths