Adaptive Safety-critical Control with Uncertainty Estimation for Human-robot Collaboration