Measurement of pulsar parallaxes by VLBI