Indonesia beat China to win first Thomas Cup since 2002