Kelly leads Arizona State past California 27-17