Tokyo seeking balance between maintaining security alliance with Washington, friendly relations with Tehran since outbreak of Mideast conflict