Elastic, dielectric and optical constants of 4'-pentyl-4-cyanobiphenyl