What allows carbon to bond with up to four other atoms at a time and form the macromolecules that are essential to life ?