Bell inequalities in phase space and their violation in quantum mechanics