Nanostructures and mechanical/optical properties: a new approach for transparent "intelligent" PECVD coatings