Phase transitions in 3,5-dichloropyridine