Contact structures on principal circle bundles