Sharp endpoint estimates for imaginary powers and Riesz transforms on certain noncompact manifolds