Enhanced near-field thermal radiation and reduced Casimir stiction between doped-Si gratings