Temperature-sensing array using the metal-to-insulator transition of Nd xSm1−xNiO3