Decorated-latticed structure factors: Applications to intercalation compounds