Twist singularities for symplectic maps