Two convicted by military courts hanged in Kohat