In which type of chemical bonding are electrons lost or gained by the atoms involved