Prosecute corrupt officials within 3 months: SC to govt