what controls volcanic eruptions