Relic Densities of Dark Matter in the U(1)-Extended NMSSM and the Gauged Axion Supermultiplet