Operational approach to phase-space measurements in quantum mechanics