Dimension properties of sample paths of self-similar processes