Model reduced variational data assimilation for shallow water flow models