Generating Synthetic Mixed-type Longitudinal Electronic Health Records for Artificial Intelligent Applications