Write a SQL query to find the top 3 highest-paid employees in each department using window functions.