Source or drain regions of field-effect devices