30 Michigan beaches closed due to high bacteria levels; 4 in metro Detroit