Method to prepare the surface of a semiconductor for the fabrication of a porous semiconductor