Calculation of characteristics of planar antenna arrays with substrates made of chiral metamaterials taking into account the dispersion of macroscopic parameters