Angular distribution of ions produced by laser ablation of magnesium with special reference to sublimation energy