Two teenage girls became the "sex slaves" of a group of Asian men in Rochdale who preyed upon their vulnerabilities, a court has heard.