Charges and fields in a current-carrying wire