Previously secret military files reveal links between the use of torture by British forces in Oman and Northern Ireland during the 1970s.