CDPA: Common and distinctive pattern analysis between high-dimensional datasets