Endomorphisms of type II1-factors and Cuntz algebras