Scrape-off layer ion temperature measurements at the divertor target during type III and type I ELMs in MAST measured by RFEA