Generative AI enhances individual creativity but reduces the collective diversity of novel content