An unknown substance is tested by 2 reagents. The Lugol's test yields a black color while the Benedict's test yields a light blue color. Amylase is added and then the substance is retested. The second Lugol's test is negative, while the second Benedict's test yields a red color. What substances were present before and after, respectively, the amylase was added?