Judge orders Texas to protect whooping cranes