Effective connectivity analysis of fMRI data based on network motifs