Police chief sacked for lying about naval rank