On flexible composition algebras