Algebraic dimension of complex nilmanifolds