Correlation inequalities and the thermodynamic limit for classical and quantum continuous systems