Structure-function fit underlies the evaluation of teleological explanations