Prevention of gross setup errors in radiotherapy with an efficient automatic patient safety system