Mysterious 'sparks' on the sun could help scientists predict solar flares