VolumeDiffusion: Flexible Text-to-3D Generation with Efficient Volumetric Encoder