vTrain: A Simulation Framework for Evaluating Cost-effective and Compute-optimal Large Language Model Training