Effect of covalent linkage between hexagonal boron nitride and porphyrins on the optical nonlinearities