New device detects cancer in seconds