National Bank of Pakistan posts profit