A Survey on Large Language Models for Recommendation