Flexible composition algebras and okubo algebras