A Fingerprint Retrieval System Based on Level-1 and Level-2 Features