Realization of the basic representations of the Euclidean Lie algebras