Nawaz vows to expose elements behind terrorist attacks