What was the capital of Texas under Spanish rule