Italy missed out on the World Cup for the third successive time after losing a penalty shootout to Bosnia and Herzegovina in their qualifying playoff final.