How many electrons does potassium have to give up in order to achieve a noble-gas electron configuration?