Danish police say explosions damaged two pipelines built to bring Russian gas to Germany.