Inverse source problem in an anisotropic medium by boundary measurements