Space-based and Feature-based Attention in a Realistic Layered-microcircuit Model of Visual Cortex