Confidence Estimation for Error Detection in Text-to-SQL Systems