Stochastic gyroresonant electron acceleration in a low-beta plasma. I: Interaction with parallel transverse cold plasma waves