Efficient cross-modal retrieval via flexible supervised collective matrix factorization hashing