Stereodivergent synthesis of fused bicyclopyrazolidines: access to pyrazolines and pyrrolidines.