Global stability and optimal control for a hepatitis B virus infection model with immune response and drug therapy