Turkey vows to stand by Pakistan