Indirect determination of ascorbic acid by solid-phase spectrophotometry