Sudden future singularities in quintessence and scalar-tensor quintessence models