Magnetic frustration in α-NaMnO2 and CuMnO2