Hardy-Sobolev spaces and Besov spaces with a function parameter