Hansen wins gold for Denmark in inaugural men's omnium