Some results on homology of Leibniz and Lie n-algebras