ACT: Bridging the Gap in Code Translation through Synthetic Data Generation & Adaptive Training