An Iranian asylum seeker who escaped custody during a medical appointment after molesting two teenage girls has been sentenced to just two years in jail.