Contact angle measurement by image analysis to study oil degradation during frying