Johnston Press agrees three-year print deal with Trinity Mirror for i and Scotsman titles