Construction of heuristic diffraction coefficients in the analytical solutions to the problems in which wave fields of different physical nature are scattered by polygonal flat plates with complex boundary conditions