TGPO: Temporal Grounded Policy Optimization for Signal Temporal Logic Tasks