Component separation in harmonically trapped boson-fermion mixtures