A neurally plausible model learns successor representations in partially observable environments