The photochemistry of 1,3-butadiene rationalized by means of theoretical resonance structures and their weights