Enhancing Conformational Sampling for Intrinsically Disordered and Ordered Proteins by Variational Autoencoder