Synthesis of nanomaterials and advanced coatings on polymeric and composite substrates