Create stored procedure with input and output parameters in mysql