Periodic solution and dynamical analysis for a delayed food chain model with general functional response and discontinuous harvesting