Write a SQL query utilizing window functions to find the top three highest-value transactions per department for each month.