Former prison officer admits indecent acts with two 12-year-old girls