City plans to spend $40 million on security for DNC