A PT-symmetric periodic problem with boundary and interior singularities