DNA extraction methods using magnetic beads