Numerical simulation of a device with two spin crossover complexes: application for temperature and pressure sensors