Memory Effects in the Permeation of Molecules through Lipid Bilayers