Precision polymer thin films for advanced optical and optoelectronic applications by vapor deposition