Iranian president unharmed in blast, slams Mideast role of US