Neutrino evolution in dense matter and electromagnetic field