Complete characterisation of laser diode thermal circuit by voltage transient measurements