Motionless phase stepping in X-ray phase contrast imaging with a compact source