Ericsson confident will win patent spat with Samsung