Spontaneous liquid crystal and ferromagnetic ordering of colloidal magnetic nanoplates