Gauge fields for ultracold atoms in optical superlattices