Propagation of maternal behavior across generations is associated with changes in non-maternal cognitive and behavioral processes