A Multi-Resolution Framework for U-Nets with Applications to Hierarchical VAEs