Photoluminescence and cathodoluminescence studies of semiconducting diamond