Gravar-mail: Development of solid-state avalanche amorphous selenium for medical imaging