Afghan rivals hold duelling inaugurations amid attack on political rally