Thousands pay respect to Pope Benedict as he lies in state