Extremal Lp-norms of linear operators and self-similar functions