Boundedness of minimizers for spectral problems in ℝN