Motion planning algorithms based on optimal control for motorcycle rider system