Minst 20 personer har omkommit och över 20 skadats i en bussolycka i norra Pakistan, uppger landets polis.