Anisotropy of the magnetoelectric effect in terbium molybdate