A System-Level HW/SW Co-Design Methodology for Ad-Hoc Implementation of DBMS Operators