Development of fast and affordable methods for measuring quality related properties of confections