Write SQL query to solve given problem: in which year costela01 obtained the best balance of games won as a coach?. Keep the solution inside sql tag ```sql [SQL-Query] ```
SELECT year FROM coaches WHERE coachID = 'costela01' ORDER BY CAST(won AS REAL) / (won + lost) DESC LIMIT 1