Similarity Learning with Listwise Ranking for Person Re-Identification