Integrated temperature and pressure sensor