Simulation of light scattering by a particle on a film-coated substrate using coupled-dipole method