Field profile tailoring in a-Si:H radiation detectors