Electrical characteristics of silicon pixel detectors