Rare-aware attention network for image-text matching