Formation and deexcitation of the 32S compound nucleus via the 20Ne+12C and 16O+16O entrance channels