Gravar-mail: Single- and Cross-Modality Near Duplicate Image Pairs Detection via Spatial Transformer Comparing CNN