Highly uniform thermally undercut silicon photonic devices in a 300 mm CMOS foundry process