Janardhana Reddy gets bail in judge bribery case