Hydromechanics of swimming propulsion. Part 2: Some optimum shape problems