All finite generalized triangle groups