Investigation of Stability during Standing Up and Sitting Down with Robotic Assistance