Variation in the primary and reprocessed radiation from an orbiting spot around a black hole