At least three people are dead and dozens missing after an explosion in an apartment building in southern Russia, state media reported.