Treatment of pulp diseases