LLMCO2: Advancing Accurate Carbon Footprint Prediction for LLM Inferences