A former Bedfordshire Police officer has been jailed for lying about a speeding offence.