Processing of nanophase ceramics