Phylogenetic plasticity in the evolution of molluscan neural circuits