Photochemistry of hydrocarbons in the Jovian upper atmosphere