Statistical methods for QTL mapping and genomic prediction of multiple traits and environments: case studies in pepper