Lectures on invertible field theories