Software and services drive IBM profits