Obama affirms strong economic, security ties with Japan