Prediction of Optical and Dielectric Properties of 4-Cyano-4-pentylbiphenyl Liquid Crystals by Molecular Dynamics Simulation, Coarse-Grained Dynamics Simulation, and Density Functional Theory Calculation