Spontaneous symmetry breaking in massless field theories, finite temperature and criticality