Smoothness and analyticity for solutions of first order systems of partial differential equations on nilpotent Lie groups