Peshawar attack kills three cops, injures six