Exploiting input sparsity for joint state/input moving horizon estimation