how to become a government teacher