Profumo resigns after admitting lying to parliament