Principles of DNA profiling and its uses