HCN/HNC intensity ratio: a new chemical thermometer for the molecular ISM