Front-end electronics for energy and position measurements with semiconductor radiation detectors