Supersymmetric index on T^2 x S^2 and elliptic genus