Sharp Reilly-type inequalities for a class of elliptic operators on submanifolds