Apps and chargers can make iPhones 'hack-prone'