Man City believe it has won battle to sign Porto's Fernando