Boundary smoothness of analytic functions