Habitat Selection by Flour Beetles in Complex Environments