create stored procedure in sql server with input and output parameters