Electric fields and charges in elementary circuits