Measurement of elastooptic properties of organic thin films