Stability of the functional forms of the Blaschke-Santaló inequality