Quantum homodyne tomography with a priori constraints