Britain must become more resilient to both drought and flooding as the climate changes, the chairman of the Environment Agency warns.