In-situ characterization of polymer crystallization using a low-cost light emitting diode array as optical receiver with photogain