Additive and dominance genetic variation for dairy production traits under an animal model