The calculation of ESR parameters by density functional theory: the g- and A-tensors of Co(acacen)