Analysis of viscoelastic properties influence on strain and temperature responses of Fabry-Perot cavities based on UV-curable resins