The Standard Model Effective Field Theory up to Mass Dimension 12