Sharif triumphs in historic Pakistan elections