Local Models for Moduli of Global and Local Shtukas