Judge transfers teen charged with child rape to adult court