Added formats.sam.mapped() to extract mapped and/or unmapped reads
from input SAM/BAM. Updated formats.sam.output_bam() to always output
SAM if `--unmapped` is requested and then call the formats.sam.mapped()