why is pain worse at night after surgery