SpineCLUE: Automatic Vertebrae Identification Using Contrastive Learning and Uncertainty Estimation