Corporate bonds offer higher yields but carry credit risks