Two-stage classifier for off-line signature verification