On the double peak structure of avalanche photodiode response to monoenergetic x-rays at various temperatures and bias voltages