In situ measurement of cavity length variation across the transverse section of broad-area vertical-cavity surface-emitting lasers