Shooting and embedding for two-point boundary value problems