A "depraved" former prison officer who denied having a sexual attraction to children and instead insisted he abused two young girls for "a sense of danger and excitement" has been jailed for 13 years.