Relationship between neuronal architecture and variability in cortical circuits