Edinburgh officer charged with child molesting