Visual pattern memory requires foraging function in the central complex of Drosophila.