All-rounder Afridi calls time on his international career