Euler equations on finite-dimensional Lie coalgebras, arising in problems of mathematical physics