What was the main responsibility A. H. Vedel had when he was a Danish vice admiral and commander-in-chief?