An investigation has been launched after unusually high levels of ammonia were found in the River Dee.