Local electrostatic potential and process-induced boron redistribution in patterned Si/SiGe/Si heterostructures