what determines how many covalent bonds two atoms can make?