Optimization of Packetization Masks for Image Coding Based on an Objective Cost Function for Desired Packet Spreading