Identifying states of global financial market based on information flow network motifs