Democracy is only solution of problems in Pakistan: PM Sharif