IsoGeometric analysis using T-splines on two-patch geometries