Ingroup favoritism and intergroup cooperation under indirect reciprocity based on group reputation | Synapse