Epoxy-based optically transparent nanocomposites for photonic packaging