Bound-nucleon response functions from the reaction 40Ca(e,e'p)39K