Linked Adapters: Linking Past and Future to Present for Effective Continual Learning