LLMs generate structurally realistic social networks but overestimate political homophily