Magnetic catalysis in nuclear matter