Thermodynamic properties of a classical d-dimensional spin-S Heisenberg ferromagnet with long-range interactions via the spectral density method