The first looks normal for a bright light source and other objects in front of the light. You got some lens flare and it appears the camera was trying to compensate for the bright sun in the shot.
The second picture looks like your camera lens was dirty--oil from your fingers. Did you clean it before taking the shot? I always clean my lens before taking important shots. It is just too easy to get it dirty. Use a good lens cleaner and soft cloth to clean and dry thoroughly for the best shots. The exposure could have been a little high too. Was the camera on auto or did you manually adjust? If auto, it might have been thrown off by the oil on the lens.
I've taken shots similar to yours, especially the second, with my 928 and they turned out fine as long as there was some incandescent light. Fluorescent light always seems to give them a bad tone, regardless of the camera.
Below are some shots I recently took with my 928 and the Nokia Camera app.
Here's one I took of the sunrise. I had to really cut down on the brightness setting.
Here's one of my son with the sun rising in the background. I made sure he was blocking the sun and I adjusted the brightness down a little to capture just his silhouette.
A shot with heavy lens flare due to the sun. I kind of like it for this shot, but wouldn't for others. Has that J.J. Abrams Star Trek feel.
I adjusted the camera angle some to block the sun. Couldn't get quite the same shot, but there was no choice at the time of day--sun directly over head.