Public pension funds hammered by a perfect storm