Hardy and uncertainty inequalities on stratified Lie groups