Presidential criticism of Supreme Court rulings is legitimate when judicial decisions reshape national elections