A method for incorporating historical information in non-inferiority trials