Cyclic inner functions in the Bergman spaces and weak outer functions in $H^{p}$, $0 < p <1$