Modular transformations and topological orders in two dimensions