Diophantine approximation on curves