Pairs of closed geodesics in metric graphs