A uniform WKB approximation for spheroidal wave functions