Global gravitational anomalies