Design, synthesis and stepwise optimization of nitrile-based inhibitors of cathepsins B and L.