The local structure of trans-Sasakian manifolds