Integrated retardation method for a thermal stress problem and a new scattered light method for three dimensional photoelasticity