Taliban militants stormed a training institute in Pakistan's northwestern city of Peshawar, killing and injuring several people, as the country marked the birthday of the Prophet Mohammed.