Repurposing protein folding models for generation with latent diffusion