Stability and Confinement of Spheromaks and Field Reversed Configurations