Greece headed for snap elections