Heavy quark expansion for the inclusive decay B→τνX