Zardari vows to safeguard democracy, institutions