An asylum seeker has been sentenced to 12 months in prison after sexually assaulting a 14-year-old girl and a woman in Essex.