Electromagnetic field quantization in an anisotropic magnetodielectric medium with spatial–temporal dispersion