Romney blasts Obama on foreign policy