Silicon drift detector with a continuous implanted resistor as divider-drift electrode