Optimal trajectories for paraplegic patients raising from a chair by means of FES: preliminary results