Optogenetic tool development and application to dissecting dopaminergic circuitry in social behavior