Covering a graph with cycles passing through given edges