Role of chemical interactions in bacterial adhesion to polymer surfaces