Non-Markovianity in open quantum systems