Relationship between supergranulation flows, magnetic cancellation and network flares