Genetic analysis of longitudinal trajectory of clinical mastitis in first-lactation Norwegian cattle.