Leveraging submovements for prediction and trajectory planning in human-robot handover