Fast state-space methods for inferring dendritic synaptic connectivity