Optical image encryption technique based on deterministic phase masks