John Martin, 74, previously of East Lothian, was found guilty of abuse involving two young girls in the 1980s and 90s.