Nanoscale properties of melting at the surface of semiconductors