Mechanical properties of polymer nanocomposites with randomly dispersed and cross-linked two-dimensional diamond