In a bowl, combine the cornmeal, flour, sugar, baking powder, and salt. In a separate bowl, whisk the sour cream, butter, and egg until smooth. Then, stir in the corn, cream corn, the onion mixture, half of the bacon. Add in the dry ingredients, and stir until just combined.