Finite Size Effects in Phase Transitions