Afghan presidential candidate survives bomb attacks