Reconstruction from non-uniform samples: A direct, variational approach in shift-invariant spaces