All-optical stimulation and imaging in macaque V1 reveals neural and behavioral masking effects of optogenetic stimulation in a threshold detection task