Group apologizes to gay community, shuts down 'cure' ministry