Ricci flow and Einstein metrics in low dimensions