Minst 40 personer omkom och ytterligare minst 20 personer saknas efter de svåra regnovädren i sydöstra Brasilien.