Analysis of a quantum nondemolition speed-meter interferometer