Exploring the off-Hugoniot phase diagrams of carbon dioxide and magnesium oxide utilizing static and dynamic precompression techniques