Smith record century leads Australia to win over Black caps