On the existence of k-normal curves of given degree and genus in projective spaces