Study and modelling of two apple quality attributes: the soluble solids content and the firmness