Stretched public finances and a rapidly aging population are threatening state-funded pension systems across Europe.