Investigation of viscoelastic continua by means of electrodynamic analogy