Statistical properties of solar flares and comparison to other impulsive energy release events