The consumer goods giant's third-quarter performance exceeded expectations, with significant contributions from its leading brands.