Samsung to invest $500 million in Mexico, foreign minister says