Emergent Social Dynamics of LLM Agents in the El Farol Bar Problem