Lateral Heterostructures Formed by Thermally Converting n-Type SnSe2 to p-Type SnSe.