Impact of Active Dendrites and Structural Plasticity on the Memory Capacity of Neural Tissue