Homogenization of two-dimensional anisotropic dissipative photonic crystal