Electromagnetic field quantization in an anisotropic absorbing medium