Rapid thermal annealing effects on self-assembled quantum dot and quantum ring structures