Threshold effects in the photoassociation of cold atoms: R−6 model in the Milne formalism