Australian shares end higher aided by upbeat CBA results