Generalisation of structural knowledge in the hippocampal-entorhinal system