The calculation of temperature and thermal stress distributions in the planar solid oxide fuel cell