Uber and Lyft faced tough questions from California judges as they seek to keep classifying drivers as contractors