First-principles study of wurtzite InN$(0001)$ and $(000{\bar 1})$ surfaces