Vertical-cavity surface-emitting laser with a liquid crystal external cavity