Qualitative MDPs and POMDPs: An Order-Of-Magnitude Approximation