On Value Distribution Theory of Second Order Periodic ODEs, Special Functions and Orthogonal Polynomials