Write a SQL query to analyze store performance by month, joining sales and labor tables to calculate revenue, labor cost, and margin by store.