Structure-Grounded Pretraining for Text-to-SQL