Spin injection and relaxation in ferromagnet-semiconductor heterostructures