Black silicon photodiode components in TO-can and SMD gold packages