Color-independent cattle identification using keypoint detection and Siamese neural networks in closed-and open-set scenarios