TimeCAP: Learning to Contextualize, Augment, and Predict Time Series Events with Large Language Model Agents