Recurrent precipitation and Liesegang rings