Weissenberg-type neutron diffraction camera and its application to the structural and magnetic phase transitions of KMnF3