Topological quantization of k-dimensional topological defects and motion equations