What prevents the helpful x-ray beams from exposing people to unwanted radiation when imaging certain bodily parts?