Algebraic relations among periods and logarithms of rank 2 Drinfeld modules