A Joint Coding and Embedding Framework for Multimedia Fingerprinting