Scaling behavior of GaAs and GaMnAs quantum rings grown by droplet epitaxy