At least seven people have been killed in Pakistan in an attack on military vehicles and goods destined for Nato troops in neighbouring Afghanistan.