Light-trapping structures fabricated in situ for ultrathin III-V solar cells