Accommodating bends in flexible patch antennas