Extracting nucleon magnetic moments and electric polarizabilities from lattice QCD in background electric fields