Differentiability of solutions of delay equations