Emission of unbound 8Be and 12C*(02+) clusters in compound nucleus reactions