The basis function regression in pharmaceutical analysis. Theory and example of application.