improved conversions between SNAP and Python types: added conversion fro...

...m SNAP to Python for function results, removed memory leaks for some parameter conversions