Transition from decelerating to accelerating universe with quadratic equation of state in f(R,T) gravity