Quadrature sampling phase detection