Introduction to geometric invariant theory 1: Noncommutative duality