Pulse shape discrimination with silicon detectors using charge and current-sensitive preamplifiers