Environmental factors in declining human fertility