On the power of one-way automata with quantum and classical states