A molecule-based nanoporous material showing tuneable spin-crossover behaviour near room temperature