Rescue drone that can search buildings wins $1 million prize