In situ measurements of external pH and optical density oscillations in Dictyostelium discoideum aggregates