Forty die in south Sri Lanka, India floods