Cohen's iteration process for boundary value problems for functional differential equations