Gunmen kill at least 40 at police training centre in Pakistan