Architecture and performance of the DELPHI trigger system