TASTE: Temporal and Static Tensor Factorization for Phenotyping Electronic Health Records