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