An optimized protocol for hip joint centre determination using the functional method