Applications of a novel method for determining the rate of production of photochemical porous silicon