Steve Smith century leaves Australia in command against West Indies