what are the three primary types of bonding