Lifetime and branching measurements on the Kπ = 0+ and Kπ = 2+24Mg rotational levels