Solving Imaging Inverse Problems Using Plug-and-Play Denoisers: Regularization and Optimization Perspectives