A theory of transgranular stress-corrosion cracking