Factorized-Dreamer: Training A High-Quality Video Generator with Limited and Low-Quality Data