Invertible field theories