Semiparametric inference using fractional posteriors