Fractal dimension and roughness of profiles and surfaces