Division by 2 on odd degree hyperelliptic curves and their jacobians