Building a bridge between aprotic and protic ionic liquids