A learnable self-supervised task for unsupervised domain adaptation on point cloud classification and segmentation