Selective modulation of cortical state during spatial attention