An SDP relaxation method for perron pairs of a nonnegative tensor