Partial theta functions and mock modular forms as q-hypergeometric series