Superconductor-insulator-normal tunnel junctions for on-chip measurement of the temperature