Advances in the processing of multifunctional polymer nanocomposites