Thermodynamics of high-Tc-superconductors with periodical array of twinning planes