The covalent functionalization of layered black phosphorus