Bangladesh coach Stuart Law quits