Afghan security forces say they defused two powerful bombs near a shrine in Kabul just before it was to be visited by thousands of people for local new year celebrations.