Morphogenesis of bacterial colonies in polymeric environments