Early warning signals of tipping points in periodically forced systems