modulus of continuity and Peetre's $K$-functional