Evaluation of the rainfall component of a weather generator for climate impact studies