sFit: a method for background subtraction in maximum likelihood fit