An optimal control approach to determine resistance-type boundary conditions from in-vivo data for cardiovascular simulations