On Adaptive Security of Delayed-Input Sigma Protocols and Fiat-Shamir NIZKs