Frozen-core full-CI calculation of imaginary frequency-dependent dipole polarizabilities of ground state BeH2 and the dispersion coefficients of its homodimer