Idempotent 2-by-2 matrices