On spectral representation method and Karhunen–Loève expansion in modelling construction material properties