On the homotopy type of definable groups in an o-minimal structure